<?php

require_once 'obox-api.php';

$query = array(
	"server" => "PTCRM\PTCRM",
	"dbname" => "Safira_MSCRM",
	"queryTemplate" => "
	SELECT TOP 3 * FROM Account WHERE New_Acr LIKE '%1\$s%%' OR Name LIKE '%1\$s%%' OR New_NIF LIKE '%1\$s%%'
	",
	"query" => $_GET["query"],
	"format" => "obox-crm.xslt"	
);

handleOboxRequest($query);